package com.aaa.service;


import com.aaa.pojos.Emp;
import com.aaa.pojos.EmpJobReportData;
import com.aaa.pojos.Login;
import com.aaa.pojos.PackBean;

import java.time.LocalDate;
import java.util.List;

public interface EmpService {
    PackBean<Emp> pageQuery(String name, Integer gender, LocalDate begin, LocalDate end, int page, int pageSize);

    void addEmp(Emp emp) throws Exception;


    List<Emp> jobName();

    void deleteEmp(Integer[] ids);

    Emp queryId(Integer id);

    void updateById(Emp emp);

    Login empLog(Emp emp);
}
